package com.zudada.servermain.POJO.VO;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "人员登录返回的数据格式")
public class LoginVO implements Serializable {

    @ApiModelProperty("主键值")
    private String userId;
    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("jwt令牌")
    private String token;

    @ApiModelProperty("角色类型（0=管理员，1=港口人员，2=航运人员，3=物流人员）")
    private Integer roleType;






}
